By obtaining a data command via OnConfigureSelectCommand(TDataCommand,Where,GroupBy,OrderBy,Paging) and then running that command, this inversion control method handles the request to obtain TEntityGroup aggregations composed of all TEntity entities in the read segment defined by Paging and in compliance with the Where, then grouped according to the GroupBy and finally sorted in the order defined by OrderBy.

Namespace: Keystone.Carbonite.Diamant
Assembly: Keystone.Carbonite.Diamant (in Keystone.Carbonite.Diamant.dll)

protected override IEnumerable<TEntityGroup> OnGet( 
Where filteringCriteria
GroupBy groupingCriteria
OrderBy orderingCriteria
Paging pagingCriteria 
)
This language is not supported or no code example is available.

Parameters

filteringCriteria

Type: Where

The filtering criteria.

groupingCriteria

Type: GroupBy

The grouping criteria.

orderingCriteria

Type: OrderBy

The ordering criteria.

pagingCriteria

Type: Paging

The paging criteria.

Return Value

The requested entity aggregations in the read segment, ordered.
Exception type Condition

ArgumentException

If a null reference (Nothing in Visual Basic) or empty value is given for the arguments.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6

Others

Xamarin, Mono